surface: Add coordinate translation
authorMatthias Clasen <mclasen@redhat.com>
Wed, 29 May 2019 03:41:56 +0000 (23:41 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 29 May 2019 18:04:08 +0000 (18:04 +0000)
commit902a49af9deccdd5d500e9e2a5b27c49c3960b82
tree48f54008c95626efe08623f1af262fb2adca6bc8
parent5675d585f40adc407f7f0f56289654dc785b4610
surface: Add coordinate translation

We maintain offsets for popups, so we can translate
coordinates between surfaces that are attached directly
or indirectly to the same toplevel. Add an api for that.
gdk/gdksurface.c
gdk/gdksurface.h